package com.cloudlead.commonData.query;

import static com.mysema.query.types.PathMetadataFactory.*;
import com.cloudlead.commonData.entity.EBaseContainer;


import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;

import com.mysema.query.sql.ColumnMetadata;
import java.sql.Types;

import com.mysema.query.sql.*;

import com.cloudlead.common.lang.annotation.Label;


/**
 * QBaseContainer is a Querydsl query type for EBaseContainer
 */
@Label("BaseContainer查询")
@Generated("com.cloudlead.utils.persistence.codegen.serializer.SimpleMetaDataSerializer")
public class QBaseContainer extends RelationalPathBase<EBaseContainer> {

    private static final long serialVersionUID = -1413402969;

    public static final QBaseContainer baseContainer = new QBaseContainer("base_container");

    public class PrimaryKeys {

        public final PrimaryKey<EBaseContainer> primary = createPrimaryKey(id);

    }

    public final StringPath baseContainercol = createString("baseContainercol");

    public final StringPath containerNo = createString("containerNo");

    public final StringPath containerSize = createString("containerSize");

    public final StringPath containerType = createString("containerType");

    public final StringPath containerVloume = createString("containerVloume");

    public final StringPath flag = createString("flag");

    public final StringPath id = createString("id");

    public final PrimaryKeys pk = new PrimaryKeys();

    public QBaseContainer(String variable) {
        super(EBaseContainer.class, forVariable(variable), "null", "base_container");
        addMetadata();
    }

    public QBaseContainer(String variable, String schema, String table) {
        super(EBaseContainer.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QBaseContainer(Path<? extends EBaseContainer> path) {
        super(path.getType(), path.getMetadata(), "null", "base_container");
        addMetadata();
    }

    public QBaseContainer(PathMetadata<?> metadata) {
        super(EBaseContainer.class, metadata, "null", "base_container");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(baseContainercol, ColumnMetadata.named("base_containercol").withIndex(3).ofType(Types.VARCHAR).withSize(45));
        addMetadata(containerNo, ColumnMetadata.named("Container_No").withIndex(2).ofType(Types.VARCHAR).withSize(45));
        addMetadata(containerSize, ColumnMetadata.named("containerSize").withIndex(6).ofType(Types.CHAR).withSize(24));
        addMetadata(containerType, ColumnMetadata.named("containerType").withIndex(7).ofType(Types.CHAR).withSize(24));
        addMetadata(containerVloume, ColumnMetadata.named("Container_Vloume").withIndex(4).ofType(Types.VARCHAR).withSize(45));
        addMetadata(flag, ColumnMetadata.named("flag").withIndex(5).ofType(Types.VARCHAR).withSize(8));
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.CHAR).withSize(24).notNull());
    }

}

